/*
 * @Author: C.
 * @Date: 2023-04-13 14:07:04
 */
import { ApiNames } from '/~/maps/apis/index';

export interface INode {
  Id: string | number;
  Name: string;
  BillKey: string;
  ApproveType: string;
  ApproverType: string;
  ApproveOrder: number;
  ActivationCondition: string;
  ApproverRole: string;
  ApproveState: string;
  Creator: string;
  CreationDate: string;
  BillGui: string;
  BillId: string;
  NodeCreationDate: string;
  ApprovedAt: string;
  ApproveNodeUsers: Iuser[];
  RemarkSets: Exclude<ApiNames, 'list' | 'get' | 'delete' | 'save'>[];
}

interface Iuser {
  Id: string | number;
  ApproveNodeId: string;
  UserId: string;
  UserName: string;
  BillKey: string;
  ApproveState: string;
  ApprovedAt: string;
  Remarks: string | null;
}
